package com.ruoyi.deeplearn.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 标注项目任务对象 deep_mark_task
 *
 * @author rww
 * @date 2024-08-29
 */
public class DeepMarkTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模块ID */
    @Excel(name = "模块ID")
    private Long moduleId;
    private String moduleName;
    private String moduleType;//module_type
    /** id */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 数据切片尺寸512*512  1024*1024 */
    @Excel(name = "数据切片尺寸512*512  1024*1024")
    private String width;
    private String height;
    private String clipSize;
    private String clipNum;//切片数量
    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private Integer status;//0 创建中   10 切片中  20 标注中  40 标注完成
    public static final Integer STATUS_CREATE = 0;
    public static final Integer STATUS_CLIP = 10;
    public static final Integer STATUS_MARK = 20;
    public static final Integer STATUS_FINISH = 30;

    /** 标签分组id */
    @Excel(name = "标签分组id")
    private Long tagGroupId;
    private String tagGroupName;
    /** 标签分组id */
    @Excel(name = "标签分组id")
    private Long markProjectId;
    /** 数据集id */
    @Excel(name = "数据集id")
    private Long datasetId;
    private String dataId;//
    /** 数据集id(变化监测类的) */
    @Excel(name = "数据集id(变化监测类的)")
    private Long changeDatasetId;
    private String changeDataId;//change_data_id

    private Long layerId;//layer_id
    public Boolean published;

    ///////////////////////////////////////


    public Boolean getPublished() {
        return published;
    }

    public void setPublished(Boolean published) {
        this.published = published;
    }

    public Long getLayerId() {
        return layerId;
    }

    public void setLayerId(Long layerId) {
        this.layerId = layerId;
    }

    public String getChangeDataId() {
        return changeDataId;
    }

    public void setChangeDataId(String changeDataId) {
        this.changeDataId = changeDataId;
    }

    public String getDataId() {
        return dataId;
    }

    public void setDataId(String dataId) {
        this.dataId = dataId;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getClipNum() {
        return clipNum;
    }

    public void setClipNum(String clipNum) {
        this.clipNum = clipNum;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getModuleType() {
        return moduleType;
    }

    public void setModuleType(String moduleType) {
        this.moduleType = moduleType;
    }

    public String getTagGroupName() {
        return tagGroupName;
    }

    public void setTagGroupName(String tagGroupName) {
        this.tagGroupName = tagGroupName;
    }

    public void setModuleId(Long moduleId)
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId()
    {
        return moduleId;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setClipSize(String clipSize)
    {
        this.clipSize = clipSize;
    }

    public String getClipSize()
    {
        return clipSize;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setTagGroupId(Long tagGroupId)
    {
        this.tagGroupId = tagGroupId;
    }

    public Long getTagGroupId()
    {
        return tagGroupId;
    }
    public void setMarkProjectId(Long markProjectId)
    {
        this.markProjectId = markProjectId;
    }

    public Long getMarkProjectId()
    {
        return markProjectId;
    }
    public void setDatasetId(Long datasetId)
    {
        this.datasetId = datasetId;
    }

    public Long getDatasetId()
    {
        return datasetId;
    }
    public void setChangeDatasetId(Long changeDatasetId)
    {
        this.changeDatasetId = changeDatasetId;
    }

    public Long getChangeDatasetId()
    {
        return changeDatasetId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("moduleId", getModuleId())
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("clipSize", getClipSize())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("tagGroupId", getTagGroupId())
            .append("markProjectId", getMarkProjectId())
            .append("datasetId", getDatasetId())
            .append("changeDatasetId", getChangeDatasetId())
            .toString();
    }
}
